package channel

import (
	"gitee.com/liuxuezhan/ar-platform/assets-rpc/internal/dao/schema"
)

const TableNameTenantChannelUsdt = "tenant_channel_usdt"

// TenantChannelUsdt 商户通道【usdt】
type TenantChannelUsdt struct {
	schema.Model `json:"schema_._model" :"schema_._model"`
	Name         string `gorm:"type:varchar(20);not null;comment:名称" json:"name,omitempty" :"name"`
	UsdtType     string `gorm:"type:varchar(32);not null;comment:usdt类型" json:"usdt_type,omitempty" :"usdt_type"`
	QrCode       string `gorm:"type:varchar(128);not null;comment:二维码" json:"qr_code,omitempty" :"qr_code"`
	Address      string `gorm:"type:varchar(128);not null;comment:钱包地址" json:"address,omitempty" :"address"`
	Sort         uint32 `gorm:"type:tinyint(10);not null;comment:排序" json:"sort,omitempty" :"sort"`
	Status       uint32 `gorm:"type:tinyint(4);not null;comment:状态1成功2失败" json:"status,omitempty" :"status"`
}

func (*TenantChannelUsdt) TableName() string {
	return TableNameTenantChannelUsdt
}
